package weiy.top.modules.purchase.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: wms_purchase_detail
 * @Author: weihancheng
 * @Date: 2021-12-14
 * @Version: V1.0
 */
@Data
@TableName("wms_purchase_detail")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "wms_purchase_detail对象", description = "wms_purchase_detail")
public class WmsPurchaseDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
    /**
     * 采购单id
     */
    @Excel(name = "采购单id", width = 15)
    @ApiModelProperty(value = "采购单id")
    private java.lang.String purchaseId;
    /**
     * 采购商品id
     */
    @Excel(name = "采购商品id", width = 15)
    @ApiModelProperty(value = "采购商品id")
    private java.lang.String skuId;
    /**
     * 采购数量
     */
    @Excel(name = "采购数量", width = 15)
    @ApiModelProperty(value = "采购数量")
    private java.lang.Integer skuNum;
    /**
     * 采购金额
     */
    @Excel(name = "采购金额", width = 15)
    @ApiModelProperty(value = "采购金额")
    private java.math.BigDecimal skuPrice;
    /**
     * 仓库id
     */
    @Excel(name = "仓库id", width = 15)
    @ApiModelProperty(value = "仓库id")
    private java.lang.String wareId;
    /**
     * 状态[0新建，1已分配，2正在采购，3已完成，4采购失败]
     */
    @Excel(name = "状态[0新建，1已分配，2正在采购，3已完成，4采购失败]", width = 15)
    @ApiModelProperty(value = "状态[0新建，1已分配，2正在采购，3已完成，4采购失败]")
    private java.lang.Integer status;
}
